<div class="fui-header searchtop">
		<div class="fui-header-left">
			<img class="leftlogo" ng-src="{{tomedia(pagedata.setting.logo) || '../core/resource/images/nopic.jpg'}}"/>
		</div>
		<div class="title">
			<form method="post">
					<div class="searchbar searchbar-active" style="margin-left:1.6rem">
					<div class="search-input" ng-click="access_json('/search//searchstart=1')">
						<i class="icon jinyunicon icon-search" style="font-size: 0.8rem;"></i>
						<input type="search " id="search" placeholder="输入关键字..." value="" readonly>
					</div>
					</div>
			</form>
		</div>
		<div class="fui-header-right" data-nomenu="true">
			<a href="javascript:;"><i class="icon jinyunicon icon-saoyisao2" id="scancode" style="font-size: 1.0rem;"></i></a>
		</div>
</div>
<script language="javascript">
wx.ready(function () {
	$("#scancode").on('click',function () {
			wx.scanQRCode({
				needResult: 1, // 默认为0，扫描结果由微信处理，1则直接返回扫描结果，
				scanType: ["qrCode","barCode"], // 可以指定扫二维码还是一维码，默认二者都有
				success: function (res) {
							//无需返回结果！					
						}
			});
	});
});
</script> 